<div class="search-form">
  <div *ngIf="displaySearch" nz-row nzType="flex" nzJustify="space-between" nzAlign="middle">
    <div nz-col nzSpan="22" (keyup.enter)="onEnterSearch()">
      <ng-content></ng-content>
    </div>
    <div nz-col nzSpan="2">
      <button nz-button nzType="primary" (click)="onSearch()">搜索</button>
    </div>
  </div>
  <div nz-row class="search-btngroup" *ngIf="btnGroup.length > 0">
    <ng-container *ngFor="let btn of btnGroup">
      <button nz-button nzType="primary" [nzSize]="operateButtonSize" (click)="onBtnClick(btn)" [nzLoading]="btn?.loading">{{ btn.title }}</button>
    </ng-container>
  </div>
</div>
